import request from '@/utils/request'

// 查询标准化考核--标准考核得分列表
export function listInspectionStandardResult(query) {
  return request({
    url: '/workSafetyStandardization/InspectionStandardResult/list',
    method: 'get',
    params: query
  })
}

// 查询标准化考核--标准考核得分详细
export function getInspectionStandardResult(standardResultId) {
  return request({
    url: '/workSafetyStandardization/InspectionStandardResult/' + standardResultId,
    method: 'get'
  })
}

// 新增标准化考核--标准考核得分
export function addInspectionStandardResult(data) {
  return request({
    url: '/workSafetyStandardization/InspectionStandardResult',
    method: 'post',
    data: data
  })
}

// 修改标准化考核--标准考核得分
export function updateInspectionStandardResult(data) {
  return request({
    url: '/workSafetyStandardization/InspectionStandardResult',
    method: 'put',
    data: data
  })
}

// 删除标准化考核--标准考核得分
export function delInspectionStandardResult(standardResultId) {
  return request({
    url: '/workSafetyStandardization/InspectionStandardResult/' + standardResultId,
    method: 'delete'
  })
}
